﻿using HPIT.Shop.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HPIT.Shop.IServices
{
    public interface ILoginservice: IServiceSupport
    {
        //判断手机号和密码是否正确
        bool CheckUser(LoginDTO dto);
        /// <summary>
        /// 注册
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        AjaxResult register(registerDTO dto);
        
    }
}
